import request from '@/utils/request'
// import request1 from '@/utils/request1'
// 资金
// 综合统计
export function getStatisData(params) {
  return request({
    url: '/userStatisticsFundsPlusController/getUserSum',
    method: 'get',
    params
  })
}
export function getOrderData(params) {
  return request({
    url: '/userStatisticsFundsController/total',
    method: 'get',
    params
  })
}
export function getGoldData(params) {
  return request({
    url: '/coinDetail/findCoinDetail',
    method: 'get',
    params
  })
}
// 销售统计
export function getSaleData(params) {
  return request({
    url: '/SellStatistics/getScreeningAmount',
    method: 'get',
    params
  })
}
// 筛选销售统计
export function getselData(data) {
  return request({
    url: '/SellStatistics/getScreeningAmount',
    method: 'post',
    data
  })
}

// 用户排行
// 全部
export function getUserRanking(params) {
  return request({
    url: '/userRanking/getuserRanking',
    method: 'get',
    params
  })
}
// 三十天
export function getUserThirty(params) {
  return request({
    url: '/UserGold/getuserRankingTimeThirty',
    method: 'get',
    params
  })
}

// 九十天
export function getUserNinety(params) {
  return request({
    url: '/UserGold/getuserRankingTimeNinety',
    method: 'get',
    params
  })
}

// 对账列表
export function getreconList(params) {
  return request({
    url: '/accountCheck/getaccountCheckList',
    method: 'get',
    params
  })
}
// 对账列表筛选
export function getSearchList(data) {
  return request({
    url: '/accountCheck/getScreena',
    method: 'POST',
    data
  })
}
// 查看详情
export function getdetailList(params) {
  return request({
    url: '/accountCheck/getdetails',
    method: 'get',
    params
  })
}
// 冲正处理
export function getUpdate(data) {
  return request({
    url: '/accountCheck/insertRemarks',
    method: 'post',
    data
  })
}
